From 6c8184a0a36971143661f2aba3ffb35876ade706 Mon Sep 17 00:00:00 2001 From: "kfraser@localhost.localdomain" Date: Tue, 1 Aug 2006 18:06:44 +0100 Subject: [PATCH] [LINUX] Fix save/restore (broken by my own GSO tweaks). Signed-off-by: Keir Fraser --- linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c b/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c index 3be2e87a7c..7644b09b86 100644 --- a/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c +++ b/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c @@ -1388,7 +1388,7 @@ static void network_connect(struct net_device *dev) gnttab_grant_foreign_transfer_ref( ref, np->xbdev->otherend_id, - page_to_pfn(skb_shinfo(np->rx_skbs[i])->frags->page)); + page_to_pfn(skb_shinfo(skb)->frags->page)); RING_GET_REQUEST(&np->rx, requeue_idx)->gref = ref; RING_GET_REQUEST(&np->rx, requeue_idx)->id = requeue_idx; -- 2.30.2